<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
  <%@ include file="common.jsp" %>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <link rel="shortcut icon" type="image/x-icon" href="${path}/resource/images/favicon.ico" />
  <title>登录 - 开源中国</title>
  <link rel="stylesheet" href="${path}/resource/css/index.css" type="text/css" media="screen" />
</head>
<body>
<div id="OSC_Screen">
<div id="OSC_Page">
	<div id='OSC_Banner' class='CenterDiv'>
		<table width='100%' cellspacing='0' cellpadding='0' border='0'>
		<tr>
			<td rowspan='2' width='200'>

				<a href="http://www.oschina.net/"><img src="/img/logo.gif" alt="开源中国社区" title="开源中国社区首页" width="200" height="56"/></a>
			</td>
			<td colspan='2' align='right' valign='top'><style type="text/css">
#span_my_toolbar {
	background:url('/img/icons.gif') no-repeat 58px -219px;
	padding-right:5px;
}
#span_my_toolbar a#lnk_my_toolbar.hover {background:#40AA53;color:#fff;}
#my_toolbar {
	display:none;
	text-align:left;
	position:absolute;
	left:0px;
	top:16px;
	width:110px;
	z-index:9999;
	background:#fff;
	border:1px solid #ccc;
	padding:5px 0 2px 5px;
	font-size:9pt;
	list-style-type:none;
}
#my_toolbar li {
	border:0;
	padding-left:20px;
	height:16px;
	margin-bottom:8px;
	background-image:url('/img/icons_1.gif');
	background-repeat:no-repeat;
}

#my_toolbar li:hover {
	background-image:url('/img/icons_2.gif');
	background-repeat:no-repeat;
}

#my_toolbar .msg_ {background-position:0 0;}
#my_toolbar .discuss_ {background-position: 0 -16px;}
#my_toolbar .code_ {background-position:0 -32px;}
#my_toolbar .blog_ {background-position:0 -48px;}
#my_toolbar .friends_ {background-position:0 -64px;}
#my_toolbar .favorites_ {background-position:0 -82px;}
#my_toolbar .profile_ {background-position:0 -98px;}
#my_toolbar .portrait_ {background-position:0 -114px;}

#userbar #my_toolbar li a:hover {color:#A00;font-weight:bold;background:none;}

#userbar {text-align:right;color:#666;font-size:10.5pt;}
#userbar a {text-decoration:none;}
#userbar a:hover {background:#40AA53;color:#fff;}

#userbar a.hl {color:#A00;}
#userbar a.hl:hover {color:#fff;}

#MsgTip {line-height:18px;}
</style>
<div id="userbar">
	使用
	<a href="/action/user/openid?op=Google" class="hl">Gmail</a>/<a href="/action/openid/before_liveid" class="hl">MSN</a>/<a href="/action/user/openid?op=Yahoo" class="hl">Yahoo</a> 账号登录&nbsp;|
	<a href="http://www.oschina.net/home/login?goto_page=https%3A%2F%2Fwww.oschina.net%2Fhome%2Flogin">登录</a>&nbsp;|
	<a href="http://www.oschina.net/home/reg">注册</a>&nbsp;|
	<a href="http://www.oschina.net/question/ask" class='hl'>我要提问</a>&nbsp;|
	<a href="http://www.oschina.net/home/go?page=admin%2Fnew-project" class='hl'>发布开源软件</a>&nbsp;|
	<a href="http://www.oschina.net/home/go?page=admin%2Fnew-release" class='hl'>新闻投递</a></div>

<script type="text/javascript">
<!--
$(document).ready(function() {
	/*
    var ins = jQuery('.google_ads ins');
    jQuery(ins[0]).css('position', 'static');
    jQuery(ins[1]).css('position', 'static');
    var iframe = jQuery('.google_ads iframe');
    jQuery(iframe[0]).css('position', 'static');
	*/
	$("#lnk_my_toolbar").mouseover(function(){
  		$("#my_toolbar").stop(false, true).show();
		$("#lnk_my_toolbar").addClass('hover');
  	});
	$("#span_my_toolbar").mouseleave(function(){
  		$("#my_toolbar").stop(false, true).hide();
		$("#lnk_my_toolbar").removeClass('hover');
  	});
});
//-->
</script></td>
		</tr>
		<tr>
			<td id='slogon'>找到您想要的开源软件，分享和交流</td>
			<td id='rss'>
				<a href="http://www.oschina.net/project/rss">开源软件</a>
				<a href="http://www.oschina.net/news/rss">资讯</a>

				<a href="http://www.oschina.net/question/rss">讨论</a>
				<a href="http://www.oschina.net/code/rss">代码</a>
				<a href="http://www.oschina.net/blog/rss">博客</a>
			</td>
		</tr>
		</table>
	</div>

	<div id="OSC_MainNav">
		<div class='CenterDiv'>
			<div id='MenuItems'>
    		<ul>
    			<li class="nav_item t_home current"><a href="http://www.oschina.net/" onfocus='this.blur()'>首页</a></li>				
    			<li class="nav_item t_project"><a href="http://www.oschina.net/project" id="nav_projects" onfocus='this.blur()'>开源软件</a></li>	
    			<li class="nav_item t_bbs"><a href="http://www.oschina.net/question" onfocus='this.blur()'>讨论区</a></li>	
    			<li class='nav_item t_code'><a href="http://www.oschina.net/code/list" onfocus='this.blur()'>代码分享</a></li>

    			<li class="nav_item t_news"><a href="http://www.oschina.net/news" onfocus='this.blur()'>资讯</a></li>
    			<li class='nav_item t_blog last'><a href="http://www.oschina.net/blog" onfocus='this.blur()'>博客</a></li>	
    			<li class='nav_item t_android'><a href="http://www.oschina.net/android" onfocus='this.blur()' style='color:#FFF;' title='Android开发专区'>Android</a></li>
    		</ul>
			</div>
    		<form action="http://www.oschina.net/search">
																<span class="ipt f_l">
    			<input type='text' id='txt_q' name='q' class='SERACH' value='在 19715 款开源软件中搜索' onblur="(this.value=='')?this.value='在 19715 款开源软件中搜索':this.value" onfocus="if(this.value=='在 19715 款开源软件中搜索'){this.value='';};this.select();"/>

				</span>
				                <div class="search-by selectbox">
    				<span class="hide">
    				<select name='scope'>					
                        <option value='project' selected>软件</option>
                        <option value='code'>代码</option>
                        <option value='bbs'>讨论区</option>
                        <option value='news'>新闻</option>

                        <option value='blog'>博客</option>
    				</select>
    				</span>
                  <div class="search_on" id="search-item"><span class="text">软件</span></div>
                  <ul class="search_list">
                     <li class="search-item"><a href="#1">软件</a></li>
                     <li><a href="#2">代码</a></li>

                     <li><a href="#3">讨论区</a></li>
                     <li><a href="#4">新闻</a></li>
                     <li><a href="#5">博客</a></li>
                  </ul>
                  <script type="text/javascript">SelectStyle("#search-item",".search_list")</script> 
                </div>
				<input type='submit' value='搜索' class='bnt f_r'/>			
    		</form>

		</div>
	</div>
	<div id="OSC_SubNav">
		<a href="http://www.oschina.net/alipay">支付宝专区</a>
		<a href="http://www.oschina.net/question/tag/%E9%AB%98%E6%89%8B%E9%97%AE%E7%AD%94" style='color:#A00;font-weight:bold;'>高手问答</a>
		<a href="http://www.oschina.net/wp7">WP7开发专区</a>
		<a href="/bbs/docs">文档分享</a>

		<a href="/code/explore">源码库</a>
				<a href="http://www.oschina.net/project/list_cn">国产开源</a>
		<a href="/project/java">Java开源</a>
		<a href="/project/lang/22/php">PHP项目</a>
		<a href="/project/lang/21/c">C++项目</a>
		<a href="/project/lang/194/csharp">C#项目</a>

		<a href="/project/tag/235/nosql?lang=0&os=0&sort=view">NoSQL</a>
		<a href="/project/tag/79/dbserver">数据库</a>
		<a href="/project/tag/273/jquery">jQuery</a>
		<a href="/project/tag/215/gamedev">游戏开发</a>
		<a href="/project/tag/169/mobile-devlibs">手机开发</a>
		<a href="/project/tag/131/ajax">Ajax</a>

		<a href="/project/tags" class='more'>更多&raquo;</a>
	</div>
	<div id="OSC_Content" class='CenterDiv'><style>
#OSC_Footer {border:0;}
#OSChinaLoginTip {font-size:10.5pt;padding:0 0 20px 10px;color:#060;}
#OSChinaLoginTip ul {margin:10px 0 0 0;}
#OSChinaLoginTip ul li {float:left; width:90px;margin-right:30px;}
#OSChinaLoginTip ul li#openid_gmail img {margin-top:8px;}
#OSChinaLoginTip ul li#openid_yahoo img {margin-top:15px;}
#OSChinaLoginTip ul li#openid_msn img {}
#OSChinaLoginTip ul li a {display:block;height:40px;}
#OSChinaLoginTip ul li a {border:1px solid #fff;padding:2px;}
#OSChinaLoginTip ul li a:hover {border:1px solid #40AA53;background:#cfc;}
</style>

<div class="MainForm" id="login_page">	
  <form id="frm_login" action="/action/user/login" style="float:left; width:620px;">
    <h2>登录开源中国，如果尚未加入的请点击<a href='/home/reg'>注册新会员</a></h2>	
	<div id="OSChinaLoginTip">
	oschina 还支持以下三种登录方法<span style='color:#C00;'>（请点击相应图标进入登录页面）：</span>

	<ul>
		<li id='openid_gmail'><a href="/action/user/openid?op=Google" title="使用Gmail帐号登录"><img src='/img/google_25wht.gif' alt='gmail'/></a></li>
		<li id='openid_yahoo'><a href="/action/user/openid?op=Yahoo" title="使用Yahoo帐号登录"><img src='/img/yahoo.gif' alt='yahoo'/></a></li>
		<li id='openid_msn'><a href="/action/openid/before_liveid" title="使用MSN帐号登录"><img src='/img/msn-live.gif' alt='msn'/></a></li>    	
    </ul>
	<div class='clear'></div>
	</div>
    <div id='error_msg' class='error_msg' style='display:none;'></div>
    <table>

    	<tr>
    		<th nowrap>邮箱：</th>
    		<td><input type='text' name='email' id='f_email' class='TEXT' value='' style='width:200px;'/></td>
    	</tr>
    	<tr>
    		<th>登录密码：</th>
    		<td><input type='password' name='pwd' id='f_pwd' class='TEXT' style='width:200px;'/></td>
    	</tr>

    	<tr>
    		<th>&nbsp;</th>
    		<td><input type='checkbox' name='save_login' value='1' checked='checked'/> 记住我的登录信息<span style='color:#A00;'>（请勿在公用电脑或者网吧内使用此项）</span></td>
    	</tr>
    	<tr class='buttons'>
    		<th>&nbsp;</th>
			<td>

    		<input type='submit' value='现在登录' class='BUTTON SUBMIT'/>&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="http://www.oschina.net/home/reset-pwd">忘记登录密码？</a>
			</td>
    	</tr>
    	<tr height='40'><th></th><td></td></tr>
    </table>
  </form>
  <div id="login_tip" class="tipbox" style="float:right;width:300px;">

	<h3>登录后可以？</h3>
	<ol>
		<li>参与开源软件/新闻的讨论和评论</li>
		<li>和别人分享软件使用心得</li>
		<li>将你的文章、图书推荐到开源中国</li>
	</ol>
  </div>

<div class='clear'></div>
</div>
<script type='text/javascript'>
<!--
$('#f_email').focus();$('#frm_login').ajaxForm({
    beforeSubmit: function(a,f,o) {
		if($('#f_email').val().length == 0){
			$('#f_email').focus();
			$('#error_msg').html("请输入登录的邮箱或者帐号");
			$('#error_msg').show();
			return false;
		}
		if($('#f_pwd').val().length == 0){
			$('#f_pwd').focus();
			$('#error_msg').html("请输入登录密码");
			$('#error_msg').show();
			return false;
		}
    },
    success: function(html) {
    	if(html.length > 0){
    		$('#error_msg').hide();
    		$('#error_msg').html(html);
    		$('#error_msg').show();
    	}else{
			    		location.href="http://www.oschina.net/";
    	}
    }
});
//-->
</script></div>
	<div id="OSC_Footer" class='CenterDiv'>&copy; 开源中国社区(OsChina.NET) | <a href="http://www.oschina.net/home/about">关于我们</a> | <a href="mailto:oschina.net@gmail.com">广告联系</a> | <a href="http://my.oschina.net/javayou">站长空间</a> | <a href="http://weibo.com/oschina2010" target="_blank">@新浪微博</a> | <a href="http://m.oschina.net/">开源中国手机版</a> | 粤ICP备08124133号

<script type='text/javascript'>
<!--
if (top.location != self.location)top.location=self.location;
//-->
</script></div>
</div>
</div>
</body>
</html>
<!-- Generated by OsChina.NET (Fri Mar 16 12:23:55 CST 2012) 11ms -->